#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "process_ipc_shm_msg.h"
int main()
{
    char buff[64] = {0};
    int ret;
    void * queue = queue_open("/test",64,5, 5000);
    if(queue == NULL) {
        printf("queue not inited\n");
        return 0;
    }
    //queue_fixup(queue);

    while(1) {
        ret = queue_recv(queue,buff,sizeof(buff));
        printf("recv bytes %d : %s\n",ret,buff);
    }
    return 0;
}
